	<include file="Public/admin/header.html" title="留言管理" keywords="" />
		
	<div class="col-sm-9 col-sm-offset-3 col-lg-10 col-lg-offset-2 main">			
		<div class="row">
			<ol class="breadcrumb">
				<li><a href="#"><span class="glyphicon glyphicon-home"></span></a></li>
				<li class="active">留言管理</li>
			</ol>
		</div><!--/.row-->
		
		<div class="row">
			<div class="col-lg-12">
				&nbsp;<br><br>
				</div><!--/.col-->	
		</div><!--/.row-->
		
		<div class="row">
			<div class="col-lg-12">
			<div class="panel panel-primary">
					<div class="panel-heading"><span class="glyphicon glyphicon-list"></span>留言列表</div>
					<div class="panel-body">
			<table class="table">
						    <thead>
						    <tr>
						        <th>昵称</th>
						        <th>评论</th>
						        <th>时间</th>
						        <th>操作</th>
						    </tr>
						    </thead>
              <tbody>
              <volist name='page'  id='vo'>
                 <tr>
						        <td width="10%" data-align="right"><{$vo.name}></td>
						        <td width="70%"><{$vo.comment}></td>
						        <td width="10%"><{$vo.date}></td>    
						        <td width="10%">
						        <a href="__URL__/modify?id=<{$vo.id}>" data-toggle="modal" data-target="#myModal"><span class="glyphicon glyphicon-pencil" ></span></a>
									&nbsp;&nbsp;
									<a href="__URL__/del?id=<{$vo.id}>" class="trash"><span class="glyphicon glyphicon-trash"></span></a></td>
						    </tr>
		          </volist >	
              </tbody>
						</table>
    	</div>
		</div>
			
			</div><!--/.col-->	
		</div><!--/.row-->	
		<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"  aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" 
                aria-hidden="true">×
            </button>
            <h4 class="modal-title" id="myModalLabel">
              修改
            </h4>
         </div>
         <div class="modal-body">
            按下 ESC 按钮退出。
         </div>
         <div class="modal-footer">
            <button type="button" class="btn btn-default" 
                data-dismiss="modal">关闭
            </button>
            <button type="button" class="btn btn-primary">
               提交更改
            </button>
         </div>
      </div><!-- /.modal-content -->
   </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<script>
   $(function () { $('#myModal').modal({
      keyboard: true
   })});
</script>									
	</div>	<!--/.main-->
	  
<style>
	.panel-heading{
     height:45px;
     padding: 0px 0px 0px 10px;
}
	</style>	
	<script src="__PUBLIC__/js/jquery-1.11.1.min.js"></script>
	<script src="__PUBLIC__/js/bootstrap.min.js"></script>

	<script type="text/javascript">	$(document).ready(function() {  $("#com").addClass("active").show(); }	);</script>	
</body>
</html>
